<? foreach($menu as $item): ?>
	<? if ($nextlevel): ?>
		<div class="trv_menu_item">
			<div style="margin-left:10px;" class="v_menu_title">
				<img src="<?= URL::base() ?>static/css/plus.png" alt="plus" onclick="openMenu(this, '<?= URL::base() ?>administration/aajax/<?= $nextlevel ?>/', '<?= $nextlevel_id ?>')" item_id="<?= $item->id ?>"> <a href="#" onclick="loadContent(this, '<?= URL::base() ?>administration/aajax/<?= $load_from ?>/<?= $item->id ?>')"><?= $item->name ?></a> <img src="<?= URL::site('static/administration/css/images/delete.png') ?>" alt="" onclick="deletePlace(this, '<?= URL::base() ?>administration/aajax/delete/<?= $item->id ?>', '<?= $load_from ?>')">
			</div>
		</div>
	<? else: ?>
		<div class="trv_menu_item">
			<div style="margin-left:10px;" class="v_menu_title">
				&nbsp;<a href="#" onclick="loadContent(this, '<?= URL::base() ?>administration/aajax/<?= $load_from ?>/<?= $item->id ?>')"><?= $item->name ?></a> <img src="<?= URL::site('static/administration/css/images/delete.png') ?>" alt="" onclick="deletePlace(this, '<?= URL::base() ?>administration/aajax/delete/<?= $item->id ?>', '<?= $load_from ?>')">
			</div>
		</div>
	<? endif ?>
<? endforeach ?>